<template>
  <van-nav-bar
  :title="them"
  left-text="返回"
  left-arrow
  @click-left="onClickLeft"
  @click-right="onClickRight"
  class="nav"
  :right-text="right"
/>
</template>

<script>
import { Toast } from 'vant';
import axios from '@/Utils/server';
import { Dialog } from 'vant';
export default {
 props:["them","right"],
 name :"category-vue",
 data(){
    return {
      msg:"商品列表"
    }
 },
 methods: {
    onClickLeft() {
      this.$router.go(-1)

    },
    onClickRight() {
     

    },
  },
}
</script>

<style scoped>
 .nav{
  background-color: #fff;
 }
</style>>

